package com.alex;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

public class MainTaskWithXML {

    String name;

    public void setName(String name) {
        this.name = name;
    }

    public void start() {
        System.out.println(name);
    }
}
